const mg = require("./db");

const userObj = {
    userId:{type:String},
    userName:{type:String},
    password:{type:String},
    age:{type:Number},
    hobby:{type:Array},
    isGoodPeople:{type:Boolean}
}

const userSchema = new mg.Schema(userObj);

module.exports = mg.model("user", userSchema);

